import Vue from 'vue';
import VueRouter from 'vue-router';
// import pageA from './pages/a';
// import pageB from './pages/b';
import pageA from './components/A';
import pageB from './components/B';

Vue.use(VueRouter);

const routes = [
    {
        path: '/',
        component: pageA
    },
    {
        path: '/pageb',
        component: pageB
    }
];

const router = new VueRouter({
    routes
});

export default router;




